package org.thoneloe.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.context.properties.bind.ConstructorBinding;
import org.springframework.stereotype.Component;
import org.thoneloe.constant.BannerConstant;
import org.thoneloe.enums.Font;

/**
 * banner配置类
 * @Author: LYX
 * @CreateTime: 2025-05-16
 */
@Component
@Data
@ConfigurationProperties(prefix = BannerConstant.BANNER_PROPERTIES_PREFIX)
public class BannerProperties {

    /**
     * 是否打印banner
     */
    private boolean enabled = true;

    /**
     * 是否首字母大写
     */
    private boolean enabledUppercase = true;

    /**
     * banner艺术字横幅
     */
    private String bannerName = "Reverie";

    /**
     * flf
     */
    private Font font = Font.OGRE;
}
